package com.diaohw.module.file.obj.query;

import com.diaohw.platform.common.obj.page.PageDto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 目录 DTO
 *
 * @author D-Hw
 * @since 2024-11-05
 */
@Data
@Accessors(chain = true)
@Schema(name = "CatalogQuery", description = "目录 DTO")
@EqualsAndHashCode(callSuper = true)
public class CatalogQuery extends PageDto {

    /**
     * 目录名称
     */
    @Schema(description = "目录名称")
    private String catalogName;

    /**
     * 目录CODE
     */
    @Schema(description = "目录CODE")
    private String catalogCode;

    /**
     * 父节点ID
     */
    @Schema(description = "父节点ID")
    private String parentId;

    /**
     * 排序
     */
    @Schema(description = "排序")
    private Integer sort;

    /**
     * 目录类型
     */
    @Schema(description = "目录CODE")
    private Integer catalogType;

    /**
     * 是否查询文件数量
     */
    @Schema(description = "是否查询文件数量")
    private Boolean fileCount;
}
